//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.ares.app.demo.entities.sand;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@Table(
        name = "trav_news_info"
)
@NamedQuery(
        name = "Stravelnews.findAll",
        query = "SELECT s FROM Stravelnews s"
)
public class Stravelnews implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private int id;
    private int category;
    private String title;
    private String content;
    private String publishtime;

    public Stravelnews() {
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategory() {
        return this.category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPublishtime() {
        return this.publishtime;
    }

    public void setPublishtime(String publishtime) {
        this.publishtime = publishtime;
    }

    public String toString() {
        return "Stravelnews [id=" + this.id + ", category=" + this.category + ", title=" + this.title + ", content=" + this.content + ", publishtime=" + this.publishtime + "]";
    }
}
